@import "./common.scss";

.banner {
  .carousel {
    .item {
      img {
        width: 100%;
      }
    }

    .carousel-control {
      background-image: none;
    }
  }
}

.hotspot {
  .container {
    padding-top: 44px;
    padding-bottom: 44px;

    .row {
      position: relative;

      .left {
        .hot-img {
          img {
            width: 100%;
          }
        }
      }

      .hot-text {
        text-align: right;

        .hot-title {
          margin-bottom: 7px;
          font-size: 29px;
        }

        p:last-child {
          margin-bottom: 23px;
          font-size: 12px;
          line-height: 27px;
        }

        .img-big {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;

          .r-img {
            margin-bottom: 5%;
            flex: 0 0 48%;
            border-radius: 8px;
            overflow: hidden;

            img {
              width: 100%;
            }
          }

          >div:nth-child(3),
          >div:nth-child(4) {
            margin-bottom: 0;
          }

        }
      }

      >div:nth-child(5),
      >div:nth-child(6) {
        margin-top: 30px;
      }

      .remen {
        position: absolute;
        left: 0;
        top: 0;
        padding-top: 23px;
        padding-left: 8px;
        width: 40px;
        height: 100px;
        background-color: #e14738;
        color: #fff;
        font-size: 20px;
        text-align: start;
      }

      .remen::after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: '';
        display: block;
        border-bottom: 13px solid #f7f7f7;
        border-top: 13px solid transparent;
        border-right: 20px solid transparent;
        border-left: 20px solid transparent;
      }
    }
  }

  .container:last-child {
    .row {
      .hot-text {
        text-align: left;
      }
    }
  }
}

.more-case {
  .container {
    padding-top: 70px;
    padding-bottom: 84px;

    .row {
      .case-title {
        font-size: 36px;
      }

      .case {
        padding-top: 38px;
        text-align: center;
        font-size: 14px;

        .case-img {
          position: relative;
          margin-bottom: 12px;
          border-radius: 8px;
          overflow: hidden;

          img {
            width: 100%;
          }

          .case-img-text {
            position: absolute;
            top: 0;
            left: 0;
            padding-left: 15px;
            padding-top: 15px;
            height: 100%;
            width: 100%;
            color: #fff;
            background-color: rgba(0, 0, 0, .7);
            text-align: left;
          }
        }
      }
    }
  }
}

@media screen and (max-width:992px) {}

@media screen and (max-width:767px) {
  .hotspot {
    .container {
      padding-top: 0;
      padding-bottom: 10px;
    }
  }

  .more-case {
    .container {
      padding-top: 15px;
      padding-bottom: 10px;

      .row {
        .case {
          padding-top: 8px;
          font-size: 18px;
        }
      }
    }
  }
}

@media screen and (min-width:992px) and (max-width:1200px) {}